﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YwhLib
{
    /// <summary>
    /// 列表查询的处理
    /// </summary>
    public class QueryRsp<T>
    {
        /// <summary>
        ///  查询总数
        /// </summary>
        public int Total { get; set; }

        /// <summary>
        /// 单个的对象
        /// </summary>
        public T Item { get; set; }

        /// <summary>
        /// 对像的集合
        /// </summary>
        public List<T> Items { get; set; }

        /// <summary>
        /// 异常信息
        /// </summary>
        public string Error { get; set; }
    }
}